.login {
  padding: 40px 56px 56px;
  border-radius: 10px;
  background: #fff;
  max-width: 450px;
  width: 450px;
  margin-top: 40px;
  position: relative;

  .close{
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }

  .formItem{
    position: relative;
    margin-top: 50px;
    border-bottom: 2px solid #ccc;

    label{
      position: absolute;
      left: 0;
      height: 20px;
      bottom: 10px;
      transition-duration: .15s;
      transition-property: all;
      transition-timing-function: cubic-bezier(.4,0,.2,1);
      font-weight: bold;
      font-size: 16px;
      color: rgb(156 163 175);
      margin-left: 2px;
      display: flex;
      white-space: nowrap;
      gap: 4px;
      align-items: center;

      svg{
        width: 22px;
        transition-duration: .15s;
        transition-property: all;
        transition-timing-function: cubic-bezier(.4,0,.2,1);
      }

      &.focus{
        bottom: 40px;
        font-size: 15px;
        font-weight: normal;
        color: rgb(91 92 92);

        svg{
          width: 18px;
        }
      }
    }

    .error{
      position: absolute;
      font-size: 14px;
      color: red;
      bottom: -50%;
    }
  }

  input {
    // line-height: 2em;
    font-size: 20px;
    height: 40px;
    padding:0;
    outline: none;
    border: none;
    background: transparent;
    box-sizing: border-box;
    color: rgb(32 14 50);
    width: 100%;
    appearance: none;
    box-shadow: inset 0 0 0 1000px #fff!important;
  }

  .title{
    text-align: center;
    margin-top: 20px;
    font-size: 30px;
    color: rgb(32 14 50);
  }

  .loginBtn{
    text-align: center;
    margin-top: 40px;

    &:hover  ::after{
      display: inline-block;
      content: '';
      width: 100%;
      height: 100%;
      background-color: rgba($color: #fff, $alpha: 10%);
      position: absolute;
      left: 0;
      top: 0;
    }

    button {
      background-image: linear-gradient(to right,#ec008c,#fc6767);
      padding: 20px;
      cursor: pointer;
      width: 100%;
      max-width: 300px;
      color: #fff;
      border-radius: 50px;
      box-shadow: 0 20px 40px rgb(0 0 0 / 10%);
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
  }

  .registerBtn{
    display: flex;
    justify-content: center;
    margin-top: 30px;
    font-size: 14px;

    button {
      font-weight: 700;
      line-height: 1.5rem;
      padding: 0 30px;
      cursor: pointer;
    }
  }
}

@media screen and (width <= 900px){
  .login {
    padding: 40px 35px 56px;

    .title{
      font-size: 28px;
      text-align: left;
    }

    width: 90%;

    .formItem{
      label {
        font-size: 15px;

        // bottom: 0.5em;

        svg{
          width: 20px;
        }
      }
    }

  }
}